#include "columnReference.h"

ColumnReference::ColumnReference(std::string tableName,std::string columnName){
	tableId = tableName;
	columnId = columnName;
}

ColumnReference::ColumnReference(const ColumnReference & other)
{
    tableId = other.tableId;
    columnId = other.columnId;
}

ColumnReference::~ColumnReference()
{

}

Expression * ColumnReference::clone()
{
    return new ColumnReference(*this);
}

std::string ColumnReference::toString() {
	return tableId+"."+columnId;
}
